<template>
  <div id="paging" align="center"></div>
</template>
<script>
  import laypage from 'laypage'
  export default {
    methods: {
      test: function () {
        laypage({
          cont: 'paging', //容器。值支持id名、原生dom对象，jquery对象,
          pages: 5, //总页数
          skip: true, //是否开启跳页
          skin: '#000000',
          groups: 3, //连续显示分页数
          jump: function (obj) {
          }
        });
      }
    },
    ready: function () {
      this.test()
    }
  }
</script>
